<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/includes.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet"
	href="${ctx }/css/common/common.css" />
<link type="text/css" rel="stylesheet" href="${ctx }/css/login.css" />
<script type="text/javascript" src="${ctx }/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="${ctx }/js/login.js"></script>
<script>
	var ctx = "${ctx }";
	<c:if test="${!empty errorCode}">
	alert("${msg}");
	$(document).ready(function(){
		$("#passport").val("${passport}");
	});
	</c:if>
</script>
<title>微联通-登录</title>
</head>

<body style="background-color: #F8F7EE;">

	<div class="div_login_midd">

		<div class="div_login_form">
			<form action="${ctx }/user/loginIn.action" method="post"
				id="login_form">
				<div class="div_login_title">登&nbsp;&nbsp;录</div>
				<div class="div_input">
					<div class="div_username">
						<div class="div_icon">
							<span class="span_icon un"></span>
						</div>
						<input name="passport" id="passport" maxlength="30" type="text" />
					</div>

					<div class="div_userpwd">
						<div class="div_icon">
							<span class="span_icon pwd"></span>
						</div>
						<input name="pwd" id="pwd" maxlength="30" type="password" />
					</div>
					<div class="div_button">
						<input type="button" value="登录" onclick="login();" />
					</div>
				</div>

			</form>
		</div>
	</div>

	<%@ include file="foot.jsp"%>
</body>
</html>
